package online.yysh.charging.bean;

/**
 * 后台登陆获取的数据
 */
public class Login {
    private int id;
    //微信登陆返回的unionId
    private String openid;
    private String phone_number;
    //账户余额
    private float money;

    private String user_authority;
    private String launch_address;
    private int order_status;
    private String charge_msg;
    private String poweroff_seting_time;
    private String poweroff_start_time;
    private String order_session;
    private String create_timestamp;
    private String last_update_timestamp;
    private String bookingtime;
    private String feedback;

    public int getId() {
        return id;
    }

    public Login setId(int id) {
        this.id = id;
        return this;
    }

    public String getOpenid() {
        return openid;
    }

    public Login setOpenid(String openid) {
        this.openid = openid;
        return this;
    }

    public String getPhone_number() {
        return phone_number;
    }

    public Login setPhone_number(String phone_number) {
        this.phone_number = phone_number;
        return this;
    }

    public float getMoney() {
        return money;
    }

    public Login setMoney(float money) {
        this.money = money;
        return this;
    }

    public String getUser_authority() {
        return user_authority;
    }

    public Login setUser_authority(String user_authority) {
        this.user_authority = user_authority;
        return this;
    }

    public String getLaunch_address() {
        return launch_address;
    }

    public Login setLaunch_address(String launch_address) {
        this.launch_address = launch_address;
        return this;
    }

    public int getOrder_status() {
        return order_status;
    }

    public Login setOrder_status(int order_status) {
        this.order_status = order_status;
        return this;
    }

    public String getCharge_msg() {
        return charge_msg;
    }

    public Login setCharge_msg(String charge_msg) {
        this.charge_msg = charge_msg;
        return this;
    }

    public String getPoweroff_seting_time() {
        return poweroff_seting_time;
    }

    public Login setPoweroff_seting_time(String poweroff_seting_time) {
        this.poweroff_seting_time = poweroff_seting_time;
        return this;
    }

    public String getPoweroff_start_time() {
        return poweroff_start_time;
    }

    public Login setPoweroff_start_time(String poweroff_start_time) {
        this.poweroff_start_time = poweroff_start_time;
        return this;
    }

    public String getOrder_session() {
        return order_session;
    }

    public Login setOrder_session(String order_session) {
        this.order_session = order_session;
        return this;
    }

    public String getCreate_timestamp() {
        return create_timestamp;
    }

    public Login setCreate_timestamp(String create_timestamp) {
        this.create_timestamp = create_timestamp;
        return this;
    }

    public String getLast_update_timestamp() {
        return last_update_timestamp;
    }

    public Login setLast_update_timestamp(String last_update_timestamp) {
        this.last_update_timestamp = last_update_timestamp;
        return this;
    }

    public String getBookingtime() {
        return bookingtime;
    }

    public Login setBookingtime(String bookingtime) {
        this.bookingtime = bookingtime;
        return this;
    }

    public String getFeedback() {
        return feedback;
    }

    public Login setFeedback(String feedback) {
        this.feedback = feedback;
        return this;
    }

    public String getBox_IMEI() {
        return box_IMEI;
    }

    public Login setBox_IMEI(String box_IMEI) {
        this.box_IMEI = box_IMEI;
        return this;
    }

    public int getModeValue() {
        return modeValue;
    }

    public Login setModeValue(int modeValue) {
        this.modeValue = modeValue;
        return this;
    }

    public int getMode() {
        return mode;
    }

    public Login setMode(int mode) {
        this.mode = mode;
        return this;
    }

    public String getPort() {
        return port;
    }

    public Login setPort(String port) {
        this.port = port;
        return this;
    }

    public String getStart_time() {
        return start_time;
    }

    public Login setStart_time(String start_time) {
        this.start_time = start_time;
        return this;
    }

    public float getUse_money() {
        return use_money;
    }

    public Login setUse_money(float use_money) {
        this.use_money = use_money;
        return this;
    }

    public float getUseKWh() {
        return useKWh;
    }

    public Login setUseKWh(float useKWh) {
        this.useKWh = useKWh;
        return this;
    }

    public String getOid() {
        return oid;
    }

    public Login setOid(String oid) {
        this.oid = oid;
        return this;
    }

    //设备id
    private String box_IMEI;
    //充电模式对应的值
    private int modeValue;
    /**
     * 1：自动充满
     * 2：按电量充
     * 3：按时间充
     * 4：按金额充
     */
    private int mode;
    //桩号(A:65；b:66)写数字的字符串
    private String port;
    //开始时间
    private String start_time;
    //已经使用的钱
    private float use_money;
    //充电电量
    private float useKWh;
    //微信登录openid
    private String oid;

}
